package com.icez.bottom_navigation_view

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.google.android.material.bottomnavigation.BottomNavigationView
import com.icez.base_util_library.ResourcesUtil
import com.icez.base_util_library.RouteUtil
import com.icez.base_util_library.activity.BaseActivity
import com.icez.bottom_navigation_view.databinding.ActivityMainBinding

class MainActivity : BaseActivity<ActivityMainBinding>() {

    var mTargetFragmentId: String = "mainFragment"


    override fun getBundleParams() {

    }

    override fun getContentView(): Int {
        return R.layout.activity_main
    }

    override fun initClick() {

    }

    override fun initViewValue() {
        RouteUtil.instance.setNavigationStartDestination(
            this,
            R.id.containerView,
            R.navigation.main_navigation,
            ResourcesUtil.instance.getResourcesId(
                this,
                mTargetFragmentId, ResourcesUtil.DefType.ID
            )
        )
    }

}